package com.umakr.ax.common.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.umakr.ax.core.base.BaseModel;

import java.util.Date;

/**
 * <p>
 * 互动抽奖表
 * </p>
 *
 * @author zj
 * @since 2018-05-04
 */
@TableName("rd_interactive_lottery")
@SuppressWarnings("serial")
public class InteractiveLottery extends BaseModel {
    /**
     * 抽奖名称
     */
    @TableField("lottery_name")
    private String lotteryName;
    /**
     * 开始时间
     */
    @TableField("start_time")
    private Date startTime;
    /**
     * 结束时间
     */
    @TableField("end_time")
    private Date endTime;
    /**
     * 抽取人数
     */
    @TableField("people_count")
    private Integer peopleCount;
    /**
     * 抽取关键字
     */
    @TableField("key_word")
    private String keyWord;
    /**
     * 活动创建人
     */
    @TableField("create_user_name")
    private String createUserName;
    /**
     * 创建人id
     */
    @TableField("create_user_id")
    private Long createUserId;
    /**
     * 创建人所属电台
     */
    @TableField("rs_name")
    private Integer rsName;
    /**
     * 创建人所属电台id
     */
    @TableField("rs_id")
    private Long rsId;
    /**
     * 抽奖状态 0未抽 1抽取部分 2已抽完
     */
    @TableField("lottery_status")
    private Integer lotteryStatus;
    /**
     * 创建时间
     */
    @TableField("creat_time")
    private Date creatTime;
    /**
     * 抽奖时间
     */
    @TableField("draw_time")
    private Date drawTime;
    /**
     * 通知获奖状态 0未通知 1已通知
     */
    @TableField("inform_status")
    private Integer informStatus;
    /**
     * 抽奖人姓名
     */
    @TableField("draw_user_name")
    private String drawUserName;
    /**
     * 抽奖人id
     */
    @TableField("draw_user_id")
    private Long drawUserId;

    /**
     * 删除状态
     */
    @TableField("delect_status")
    private Integer delectStatus;

    /**
     * 符合活动条件总人数
     */
    @TableField("total_people")
    private Integer totalPeople;

    /**
     * 消息来源
     */

    @TableField("message_from")
    private Integer messageFrom;

    public String getLotteryName() {
        return lotteryName;
    }

    public void setLotteryName(String lotteryName) {
        this.lotteryName = lotteryName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getPeopleCount() {
        return peopleCount;
    }

    public void setPeopleCount(Integer peopleCount) {
        this.peopleCount = peopleCount;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Integer getRsName() {
        return rsName;
    }

    public void setRsName(Integer rsName) {
        this.rsName = rsName;
    }

    public Long getRsId() {
        return rsId;
    }

    public void setRsId(Long rsId) {
        this.rsId = rsId;
    }

    public Integer getLotteryStatus() {
        return lotteryStatus;
    }

    public void setLotteryStatus(Integer lotteryStatus) {
        this.lotteryStatus = lotteryStatus;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Date getDrawTime() {
        return drawTime;
    }

    public void setDrawTime(Date drawTime) {
        this.drawTime = drawTime;
    }

    public Integer getInformStatus() {
        return informStatus;
    }

    public void setInformStatus(Integer informStatus) {
        this.informStatus = informStatus;
    }

    public String getDrawUserName() {
        return drawUserName;
    }

    public void setDrawUserName(String drawUserName) {
        this.drawUserName = drawUserName;
    }

    public Long getDrawUserId() {
        return drawUserId;
    }

    public void setDrawUserId(Long drawUserId) {
        this.drawUserId = drawUserId;
    }

    public Integer getDelectStatus() {
        return delectStatus;
    }

    public void setDelectStatus(Integer delectStatus) {
        this.delectStatus = delectStatus;
    }

    public Integer getTotalPeople() {
        return totalPeople;
    }

    public void setTotalPeople(Integer totalPeople) {
        this.totalPeople = totalPeople;
    }

    public Integer getMessageFrom() {
        return messageFrom;
    }

    public void setMessageFrom(Integer messageFrom) {
        this.messageFrom = messageFrom;
    }
}
